//
//  UserItem.h
//  CoolTennisBall
//
//  Created by Coollang on 16/8/25.
//  Copyright © 2016年 CoolLang. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserItem : NSObject


/** 图片名称 */
@property (nonatomic, copy)NSString *icon;
/** 标题 */
@property (nonatomic, copy)NSString *title;
/** 详细标题 */
@property (nonatomic, copy)NSString *subTitle;

@property (nonatomic, copy)NSString *ID;

/**
 *  点击执行的block
 */
@property (nonatomic, copy) void (^block)();


- (instancetype)initWithTitle:(NSString *)title;
+ (instancetype)itemWithTitle:(NSString *)title;

- (instancetype)initWithIcon:(NSString *)icon andTitle:(NSString *)title;
+ (instancetype)itemWithIcon:(NSString *)icon andTitle:(NSString *)title;

+ (instancetype)itemWithTitle:(NSString *)title andSubTitle:(NSString *)subTitle;

@end
